home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
share
/
doc
/
module-init-tools
/
FAQ
< prev
next >
Wrap
Text File
|
2009-06-23
|
1KB
|
29 lines
Frequently Asked Module User Questions
Q) I get "/usr/bin/ld: cannot find -lc"
A) You need to install a development package which contains libc.a.
Q) I'm using RedHat and modules don't autoload any more.
A) Old versions of RedHat turns module autoloading off if /proc/ksyms
isn't found. Change line 337 of /etc/rc.d/rc.sysinit from:
if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
to
if ! grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then
Q) Sound doesn't load automatically.
A) You need to set up an alias (or install command) for "sound-slot-0" in
/etc/modprobe.d/sound.conf: the ALSA sound system sometimes wants this.
Q) What is "[unsafe]" next to the module name in lsmod?
A) It means someone used an old-style interfaces to try to control this
module: these are slowly being tracked down and eliminated. You can
use "rmmod -f" to force removal if you configured your kernel with
CONFIG_MODULE_FORCE_UNLOAD set.
Q) I'm having trouble inserting out-of-tree modules
A) See kernel source tree documentation: Documentation/kbuild/modules.txt